<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="links" targetNamespace="http://tempuri.org/links.xsd" xmlns:mstns="http://tempuri.org/links.xsd" xmlns="http://tempuri.org/links.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="PersonalConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="PersonalConnectionString1 (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.PersonalConnectionString1.ConnectionString" Provider="System.Data.SqlClient">
          </Connection>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="Personal" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="Personal (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.Personal.ConnectionString" Provider="System.Data.SqlClient">
          </Connection>
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LCA_LINK_CATEGORIESTableAdapter" GeneratorDataComponentClassName="LCA_LINK_CATEGORIESTableAdapter" Name="LCA_LINK_CATEGORIES" UserDataComponentName="LCA_LINK_CATEGORIESTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Personal (Web.config)" DbObjectName="dbo.LCA_LINK_CATEGORIES" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetCategories" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetCategories" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetCategories" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [LCA_LINK_CATEGORIES] WHERE (([LCA_ID] = @Original_LCA_ID))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_LCA_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LCA_ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [LCA_LINK_CATEGORIES] ([LCA_NAME], [LCA_DESC]) VALUES (@LCA_NAME, @LCA_DESC)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LCA_NAME" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LCA_NAME" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LCA_DESC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LCA_DESC" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT LCA_ID, LCA_NAME, LCA_DESC FROM LCA_LINK_CATEGORIES ORDER BY LCA_NAME DESC</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [LCA_LINK_CATEGORIES] SET [LCA_NAME] = @LCA_NAME, [LCA_DESC] = @LCA_DESC WHERE (([LCA_ID] = @Original_LCA_ID))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LCA_NAME" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LCA_NAME" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LCA_DESC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LCA_DESC" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_LCA_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LCA_ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="LCA_ID" DataSetColumn="LCA_ID" />
              <Mapping SourceColumn="LCA_NAME" DataSetColumn="LCA_NAME" />
              <Mapping SourceColumn="LCA_DESC" DataSetColumn="LCA_DESC" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PersonalConnectionString1 (Web.config)" DbObjectName="dbo.LCA_LINK_CATEGORIES" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBy" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetCategoryByName" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="GetCategoryByName" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetCategoryByName" UserSourceName="FillBy">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT LCA_ID, LCA_NAME, LCA_DESC FROM LCA_LINK_CATEGORIES WHERE (LCA_NAME = @Name) ORDER BY LCA_NAME DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="Name" ColumnName="LCA_NAME" DataSourceName="[C:\DOCUMENTS AND SETTINGS\JDUTY\MY DOCUMENTS\VISUAL STUDIO 2005\WEBSITES\MYSITE\APP_DATA\PERSONAL.MDF].dbo.LCA_LINK_CATEGORIES" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="LCA_NAME" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LIN_LINKSTableAdapter" GeneratorDataComponentClassName="LIN_LINKSTableAdapter" Name="LIN_LINKS" UserDataComponentName="LIN_LINKSTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Personal (Web.config)" DbObjectName="dbo.LIN_LINKS" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [dbo].[LIN_LINKS] ([LIN_DISPLAY], [LIN_URL], [LIN_ALT], [LIN_LCA_ID], [LIN_SORT]) VALUES (@LIN_DISPLAY, @LIN_URL, @LIN_ALT, @LIN_LCA_ID, @LIN_SORT)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LIN_DISPLAY" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LIN_DISPLAY" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LIN_URL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LIN_URL" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LIN_ALT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LIN_ALT" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@LIN_LCA_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LIN_LCA_ID" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@LIN_SORT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LIN_SORT" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT LIN_ID, LIN_DISPLAY, LIN_URL, LIN_ALT, LIN_LCA_ID, LIN_SORT FROM dbo.LIN_LINKS</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="LIN_ID" DataSetColumn="LIN_ID" />
              <Mapping SourceColumn="LIN_DISPLAY" DataSetColumn="LIN_DISPLAY" />
              <Mapping SourceColumn="LIN_URL" DataSetColumn="LIN_URL" />
              <Mapping SourceColumn="LIN_ALT" DataSetColumn="LIN_ALT" />
              <Mapping SourceColumn="LIN_LCA_ID" DataSetColumn="LIN_LCA_ID" />
              <Mapping SourceColumn="LIN_SORT" DataSetColumn="LIN_SORT" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PersonalConnectionString1 (Web.config)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="FillBy" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="GetDataBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataBy" UserSourceName="FillBy">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT     LIN_LINKS.LIN_ID, LIN_LINKS.LIN_DISPLAY, LIN_LINKS.LIN_URL, LIN_LINKS.LIN_ALT, LIN_LINKS.LIN_SORT, 
                      LCA_LINK_CATEGORIES.LCA_NAME
FROM         LIN_LINKS CROSS JOIN
                      LCA_LINK_CATEGORIES
ORDER BY LCA_LINK_CATEGORIES.LCA_NAME, LIN_LINKS.LIN_DISPLAY</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="Personal (Web.config)" DbObjectName="dbo.LIN_LINKS" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBy1" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByCat" GeneratorSourceName="FillBy1" GetMethodModifier="Public" GetMethodName="GetDataByCat" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByCat" UserSourceName="FillBy1">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT LIN_ID, LIN_DISPLAY, LIN_URL, LIN_ALT, LIN_LCA_ID, LIN_DESCRIPTION, LIN_SORT FROM LIN_LINKS WHERE (LIN_LCA_ID = @catid) ORDER BY LIN_DISPLAY</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="catid" ColumnName="LIN_LCA_ID" DataSourceName="[C:\DOCUMENTS AND SETTINGS\JDUTY\MY DOCUMENTS\VISUAL STUDIO 2005\WEBSITES\MYSITE\APP_DATA\PERSONAL.MDF].dbo.LIN_LINKS" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@catid" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="LIN_LCA_ID" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="links" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="links" msprop:Generator_DataSetName="links">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="LCA_LINK_CATEGORIES" msprop:Generator_UserTableName="LCA_LINK_CATEGORIES" msprop:Generator_RowDeletedName="LCA_LINK_CATEGORIESRowDeleted" msprop:Generator_RowChangedName="LCA_LINK_CATEGORIESRowChanged" msprop:Generator_RowClassName="LCA_LINK_CATEGORIESRow" msprop:Generator_RowChangingName="LCA_LINK_CATEGORIESRowChanging" msprop:Generator_RowEvArgName="LCA_LINK_CATEGORIESRowChangeEvent" msprop:Generator_RowEvHandlerName="LCA_LINK_CATEGORIESRowChangeEventHandler" msprop:Generator_TableClassName="LCA_LINK_CATEGORIESDataTable" msprop:Generator_TableVarName="tableLCA_LINK_CATEGORIES" msprop:Generator_RowDeletingName="LCA_LINK_CATEGORIESRowDeleting" msprop:Generator_TablePropName="LCA_LINK_CATEGORIES">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="LCA_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="LCA_ID" msprop:Generator_ColumnVarNameInTable="columnLCA_ID" msprop:Generator_ColumnPropNameInRow="LCA_ID" msprop:Generator_ColumnPropNameInTable="LCA_IDColumn" type="xs:int" />
              <xs:element name="LCA_NAME" msprop:Generator_UserColumnName="LCA_NAME" msprop:Generator_ColumnVarNameInTable="columnLCA_NAME" msprop:Generator_ColumnPropNameInRow="LCA_NAME" msprop:Generator_ColumnPropNameInTable="LCA_NAMEColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LCA_DESC" msprop:Generator_UserColumnName="LCA_DESC" msprop:Generator_ColumnVarNameInTable="columnLCA_DESC" msprop:Generator_ColumnPropNameInRow="LCA_DESC" msprop:Generator_ColumnPropNameInTable="LCA_DESCColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="LIN_LINKS" msprop:Generator_UserTableName="LIN_LINKS" msprop:Generator_RowDeletedName="LIN_LINKSRowDeleted" msprop:Generator_RowChangedName="LIN_LINKSRowChanged" msprop:Generator_RowClassName="LIN_LINKSRow" msprop:Generator_RowChangingName="LIN_LINKSRowChanging" msprop:Generator_RowEvArgName="LIN_LINKSRowChangeEvent" msprop:Generator_RowEvHandlerName="LIN_LINKSRowChangeEventHandler" msprop:Generator_TableClassName="LIN_LINKSDataTable" msprop:Generator_TableVarName="tableLIN_LINKS" msprop:Generator_RowDeletingName="LIN_LINKSRowDeleting" msprop:Generator_TablePropName="LIN_LINKS">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="LIN_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="LIN_ID" msprop:Generator_ColumnVarNameInTable="columnLIN_ID" msprop:Generator_ColumnPropNameInRow="LIN_ID" msprop:Generator_ColumnPropNameInTable="LIN_IDColumn" type="xs:int" />
              <xs:element name="LIN_DISPLAY" msprop:Generator_UserColumnName="LIN_DISPLAY" msprop:Generator_ColumnVarNameInTable="columnLIN_DISPLAY" msprop:Generator_ColumnPropNameInRow="LIN_DISPLAY" msprop:Generator_ColumnPropNameInTable="LIN_DISPLAYColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LIN_URL" msprop:Generator_UserColumnName="LIN_URL" msprop:Generator_ColumnVarNameInTable="columnLIN_URL" msprop:Generator_ColumnPropNameInRow="LIN_URL" msprop:Generator_ColumnPropNameInTable="LIN_URLColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LIN_ALT" msprop:Generator_UserColumnName="LIN_ALT" msprop:Generator_ColumnVarNameInTable="columnLIN_ALT" msprop:Generator_ColumnPropNameInRow="LIN_ALT" msprop:Generator_ColumnPropNameInTable="LIN_ALTColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LIN_LCA_ID" msprop:Generator_UserColumnName="LIN_LCA_ID" msprop:Generator_ColumnVarNameInTable="columnLIN_LCA_ID" msprop:Generator_ColumnPropNameInRow="LIN_LCA_ID" msprop:Generator_ColumnPropNameInTable="LIN_LCA_IDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="LIN_SORT" msprop:Generator_UserColumnName="LIN_SORT" msprop:Generator_ColumnVarNameInTable="columnLIN_SORT" msprop:Generator_ColumnPropNameInRow="LIN_SORT" msprop:Generator_ColumnPropNameInTable="LIN_SORTColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:LCA_LINK_CATEGORIES" />
      <xs:field xpath="mstns:LCA_ID" />
    </xs:unique>
    <xs:keyref name="FK_LCA_LINK_CATEGORIES_LIN_LINKS" refer="Constraint1" msdata:ConstraintOnly="true">
      <xs:selector xpath=".//mstns:LIN_LINKS" />
      <xs:field xpath="mstns:LIN_LCA_ID" />
    </xs:keyref>
  </xs:element>
</xs:schema>